package com.atguigu.springcloud.lb;

import org.springframework.cloud.client.ServiceInstance;

import java.util.List;

public interface LoadBalance {
    //手写负载均衡算法接口
    ServiceInstance instance(List<ServiceInstance> serviceInstances);//把当前服务器实例存入List
}
